Graphical interface
Prev
Next

Chapter 4. Graphical interface

Table of Contents

Overview
Configuring

Overview

The windows application is a simple application with one main form of fixed size and an about box. An illustration of the window as well as an explanation of their functionality is below:

Main window

  1. List of volumes This list all drives on the machine that you can scan. CDROM's and other drives that cannot be defragmented are excluded from list automatically. If the Skip removable media box is checked, also floppies and other similar devices will be excluded. This list has the following fields:

    • Volume - drive letter plus file system type in square brackets. There are used two types of icons in this field: fixed for fixed drives and removable for removable media.

    • Status - a description of the action being performed.

    • Total space

    • Free space

    • Percentage - percent free.

  2. Skip Removeable Media Checkbox

  3. Cluster Map This is a color coded representation of all drives. Here is colors explaination:

    Fragmented
    Unfragmented
    Free
    Directory
    Compressed
    System
    Temporary system
    MFT

    Some of the categories on the legend have a lighter and darker color on them. The lighter colors represent files below the file size threshold, and the darker colors represent files above the threshold if one is set. The cyan color represents space temporarily allocated by system.

  4. Rescan Drives (Ctrl+R) This button will recheck all volumes in the system to see if some were added or removed.

  5. Buttons The following section explains the buttons along with listing their shortcut keys.

    • Analyze (Ctrl+A) Scans the currently selected drive to determine how fragmented it is.

    • Defrag (Ctrl+D) Exactly what it says.

    • Compact (Ctrl+C) Moves all files to the beginning of the partition, defragmenting them if possible. The compact command does not work on volumes with the FAT filesystem because you cannot move directories on them.

    • Pause (Ctrl+P) Stops the currently running analyze or defrag operation. This behavior is the same as stop.

    • Stop (Ctrl+S) Stops the currently running analyze or defrag operation.

    • Fragmented (Ctrl+F) Display a report of all fragmented files on the volume. This report is very small but useful. It is generated by the driver, so all versions of UltraDefrag generate it.

    • Settings (Ctrl+T) This button opens the settings dialog with three shortcuts to main options (GUI startup commands), report options and this user manual.

    • About (F1) Displays the simple about box containing copyright notice and links to most important information about program.

  6. Progress bar This displays the progress of the currently running analyze, compact or defrag task. Note that selecting a different volume will cause this bar to disappear.

Configuring

The file %windir%\system32\udefrag-gui.exe contains the GUI executable since 2.0.0 version of the program. This executable starts the GUI startup script contained in udefrag-gui.cmd file. To edit this script click Main options button in Settings dialog or use the appropriate shortcut in Start Menu.

The GUI startup script usually contains few set commands plus ultradefrag.exe command at the end to launch the UltraDefrag GUI Shell. To understand the contents of this script read please carefully the console application section of this document. The environment variables used here are the same. Here is an example of script, installed by default:

@echo off
rem ------------ UltraDefrag GUI startup commands -------------------
set UD_EX_FILTER=system volume information;temp;recycler
%windir%\system32\ultradefrag.exe
exit

The first command disables commands displaying in command prompt. Rem includes comment in script. Set sets list of files to be excluded from defragmentation process. The next command launches the UltraDefrag GUI Shell. Exit command is used to break script execution.

Prev
Next
Home


ultradefrag.sourceforge.net SourceForge.net Homepage